//
//  EPOSPars.m
//  BCGenieEffect
//
//  Created by Ios Entity Generator on 2014-03-03 18:32:47
//  Copyright (c) 2014年 Bartosz Ciechanowski. All rights reserved.
//

#import "EPOSPars.h"

@implementation EPOSPars

+(id) getEPOSParsFromDictionary :(NSDictionary *) dic {
    EPOSPars * pars = [[EPOSPars alloc]init] ;
//    pars.ProdID = [dic objectForKey:@"ProdID"];
    pars.OrgCode = [dic objectForKey:@"OrgCode"];
    pars.UserID = [dic objectForKey:@"UserID"];
    pars.UserPwd = [dic objectForKey:@"UserPwd"];
    return pars ;
}

+(NSMutableDictionary *) getDictionaryFromEPOSPars :(EPOSPars* ) pars {
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init] ;
//    [dic setObject:pars.ProdID forKey:@"ProdID"];
    [dic setObject:pars.OrgCode forKey:@"OrgCode"];
    [dic setObject:pars.UserID forKey:@"UserID"];
    [dic setObject:pars.UserPwd forKey:@"UserPwd"];
    return dic ;
}

@end